package com.shmn.gongjiajumain.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shmn.common.utils.PageUtils;
import com.shmn.common.utils.Query;

import com.shmn.gongjiajumain.dao.RepairSubmitHistoryDao;
import com.shmn.gongjiajumain.entity.RepairSubmitHistoryEntity;
import com.shmn.gongjiajumain.service.RepairSubmitHistoryService;


@Service("repairSubmitHistoryService")
public class RepairSubmitHistoryServiceImpl extends ServiceImpl<RepairSubmitHistoryDao, RepairSubmitHistoryEntity> implements RepairSubmitHistoryService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RepairSubmitHistoryEntity> page = this.page(
                new Query<RepairSubmitHistoryEntity>().getPage(params),
                new QueryWrapper<RepairSubmitHistoryEntity>()
        );

        return new PageUtils(page);
    }

}